<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>演员详细列表</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
    <div class="text" style=" text-align:center;"><h1>演员详细列表</h1></div>
    <a>学号：1604220513</a>
    <br>姓名：黄建锋</br>
</div>
<div class="container">
    <table class="table table-striped">
        <thead>
        <tr>
            <th>#</th>
            <th>名字</th>
            <th>性别</th>
            <th>生日</th>
        </tr>
        </thead>
        <tbody>

        <tr th:each="actor,actorStat : ${info}">
            <td th:text="${actorStat.index + 1}"></td>
            <td th:text="${info.name}"></td>
            <td th:text="${info.sex}"></td>
            <td th:text="${info.born}? ${#dates.format(info.born,'yyyy-MM-dd')} :''"></td>
        </tr>
        </tbody>

    </table>
</div>

</body>
</html>